projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3741e69
)
inspector: Collect statistics for unclassable types
author
Benjamin Otte
<otte@redhat.com>
Tue, 1 Nov 2016 17:31:13 +0000
(18:31 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 1 Nov 2016 17:34:40 +0000
(18:34 +0100)
I want to know how many GskRenderNodes I have!
gtk/inspector/statistics.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/statistics.c
b/gtk/inspector/statistics.c
index 42b315c49d0ca09e3c6fe39308077a1e438189db..5baf700549b41399ba840397922fb6d2569d0e60 100644
(file)
--- a/
gtk/inspector/statistics.c
+++ b/
gtk/inspector/statistics.c
@@
-130,14
+130,9
@@
update_type_counts (gpointer data)
{
GtkInspectorStatistics *sl = data;
GType type;
- gpointer class;
for (type = G_TYPE_INTERFACE; type <= G_TYPE_FUNDAMENTAL_MAX; type += (1 << G_TYPE_FUNDAMENTAL_SHIFT))
{
- class = g_type_class_peek (type);
- if (class == NULL)
- continue;
-
if (!G_TYPE_IS_INSTANTIATABLE (type))
continue;